#pragma once

#include "scene/drawable.h"

namespace natrium {
	namespace scene {
		/*
		 * Grid in the X/Z plane, with a custom number of subdivisions; used normally as a floor object
		 */
		class Plane:
			public Drawable 
		{
		public:
			Plane(float sizeX, float sizeZ, unsigned int numDivisionsX = 10, unsigned int numDivisionsZ = 10);

			virtual void render() const override;

		private:
			unsigned int mHandle;
			size_t mNumElements;
		};
	}
}